package com.frame.auth.mvc.dao.mapper;

import com.frame.auth.mvc.dao.pojo.CloudAuthClientResource;
import com.frame.auth.mvc.dao.pojo.CloudAuthClientResourceExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CloudAuthClientResourceMapper {

    long countByExample(CloudAuthClientResourceExample example);

    int deleteByExample(CloudAuthClientResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CloudAuthClientResource record);

    int insertSelective(CloudAuthClientResource record);

    List<CloudAuthClientResource> selectByExample(CloudAuthClientResourceExample example);

    CloudAuthClientResource selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CloudAuthClientResource record, @Param("example") CloudAuthClientResourceExample example);

    int updateByExample(@Param("record") CloudAuthClientResource record, @Param("example") CloudAuthClientResourceExample example);

    int updateByPrimaryKeySelective(CloudAuthClientResource record);

    int updateByPrimaryKey(CloudAuthClientResource record);
}